package com.hoshiicloud.saleorder.param;

import com.hoshiicloud.common.query.PageParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * <p>
 * 查询活动流水参数
 * </p>
 *
 * @author zhangshuhu
 * @since 2019-06-03
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "查询活动流水", description = "查询活动流水")
public class ActivitiesListQueryParam extends PageParam {

    @ApiModelProperty(value = "子订单ID")
    private Long subId;

    @ApiModelProperty(value = "活动ID")
    private String activityId;

    @ApiModelProperty(value = "1-积分  2-金币 3-商品")
    private Integer reward;

    @ApiModelProperty(value = "数量")
    private Long quantity;

    @ApiModelProperty(value = "spu")
    private BigDecimal spuId;

    @ApiModelProperty(value = "sku")
    private BigDecimal skuId;

    @ApiModelProperty(value = "0-未付款 1-已付款")
    private Integer status;

    @ApiModelProperty(value = "关联单号（销售主单/退款单号")
    private String refNo;

    @ApiModelProperty(value = "是否删除")
    private Integer deleted;

    @ApiModelProperty(value = "更新人")
    private String updatedBy;
}
